package com.fhzz.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.fhzz.model.User;

@Mapper
public interface UserMapper {
	
	public List<User> getUsers();

	public User getUserById(int id);

	public void deleteUser(int uid);

	public void deleteUserRole(int uid);

	public void addUser(User user);

	public void updateByPrimaryKeySelective(User user);

	public int getUidByUsername(String username);
}
